package com.pym.base.model;

import lombok.Data;
import lombok.ToString;

import java.util.List;
@Data
@ToString
public class PageResult<T>  {


   private List<T> items;  // 表数据列
     private long counts; // 总记录数
     private long page; // 当前页码
    // 每页记录数
    private long pageSize; public PageResult(List<T> items, long counts, long page, long pageSize) { this.items = items; this.counts = counts; this.page = page; this.pageSize = pageSize; }
}
